package com.base.api.dto.selfOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "订单确认支付(app)请求参数")
public class OrderConfirmPayAppDTO extends OrderConfirmPayDTO implements Serializable {

    @ApiModelProperty(value = "1.支付宝 2.微信 3.云闪付 ")
    @Range(min = 1, max = 3, message = "支付方式只能为1到3")
    private Integer payWay;
}
